<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : main_user
    Created on : 17.12.2008, 21:50:05
    Author     : Jaroslav
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{main.page1}" id="page1">
            <webuijsf:html binding="#{main.html1}" id="html1">
                <webuijsf:head binding="#{main.head1}" id="head1">
                    <webuijsf:link binding="#{main.link1}" id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{main.body1}" id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{main.form1}" id="form1">
                        <webuijsf:label id="label2" style="font-size: 14px; left: 168px; top: 96px; position: absolute" text="Vitajte v systéme Buggy, vyberte si váš projekt (ťuknutím na info) : "/>
                        <webuijsf:image id="image1" style="left: 0px; top: 120px; position: absolute" url="/resources/bar.png" width="800"/>
                        <br/>
                        <webuijsf:staticText binding="#{main_user.txt_logged_user1}" id="txt_logged_user1" style="color: rgb(255, 0, 0); left: 168px; top: 144px; position: absolute"/>
                        <webuijsf:label id="label1" style="left: 24px; top: 144px; position: absolute" text="Projekty pre používaeľa:"/>
                        <webuijsf:image id="image2" style="left: 0px; top: 168px; position: absolute" url="/resources/bar.png"/>
                        <webuijsf:image id="image3" style="left: 0px; top: 384px; position: absolute" url="/resources/bar.png"/>
                        <webuijsf:table augmentTitle="false" binding="#{main.table1}" id="table1" paginateButton="true" paginationControls="true"
                            style="height: 53px; left: 24px; top: 192px; position: absolute" title="Projekty používateľa" width="744">
                            <webuijsf:tableRowGroup id="tableRowGroup1" rows="3" sourceData="#{main_user.projsFromUser}" sourceVar="currentRow">
                                <webuijsf:tableColumn headerText="description" id="tableColumn1" sort="description">
                                    <webuijsf:staticText id="staticText1" text="#{currentRow.value['description']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="projectName" id="tableColumn3" sort="projectName">
                                    <webuijsf:staticText id="staticText3" text="#{currentRow.value['projectName']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="projectUrl" id="tableColumn4" sort="projectUrl">
                                    <webuijsf:staticText id="staticText5" text="#{currentRow.value['projectUrl']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="projectId" id="tableColumn2" sort="projectId">
                                    <webuijsf:staticText id="staticText2" text="#{currentRow.value['projectId']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn align="center" id="tableColumn6">
                                    <webuijsf:button actionExpression="#{main_user.infoButton1_action}" binding="#{main_user.infoButton1}" id="infoButton1"
                                        imageURL="/resources/info.png" text="#{currentRow.value['projectId']}"/>
                                </webuijsf:tableColumn>
                            </webuijsf:tableRowGroup>
                        </webuijsf:table>
                        <webuijsf:table augmentTitle="false" id="table2" paginateButton="true" paginationControls="true"
                            style="height: 77px; left: 24px; top: 408px; position: absolute" title="Ostatné projetky" width="744">
                            <webuijsf:tableRowGroup id="tableRowGroup2" rows="10" sourceData="#{main_user.projsNotForUs}" sourceVar="currentRow">
                                <webuijsf:tableColumn headerText="description" id="tableColumn5" sort="description">
                                    <webuijsf:staticText id="staticText6" text="#{currentRow.value['description']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="projectName" id="tableColumn8" sort="projectName">
                                    <webuijsf:staticText id="staticText8" text="#{currentRow.value['projectName']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="projectUrl" id="tableColumn9" sort="projectUrl">
                                    <webuijsf:staticText id="staticText9" text="#{currentRow.value['projectUrl']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="projectId" id="tableColumn7" sort="projectId">
                                    <webuijsf:staticText id="staticText7" text="#{currentRow.value['projectId']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn align="center" headerText="info" id="tableColumn10">
                                    <webuijsf:button actionExpression="#{main_user.infoButton2_action}" binding="#{main_user.infoButton2}" id="infoButton2"
                                        imageURL="/resources/info.png" text="#{currentRow.value['projectId']}"/>
                                </webuijsf:tableColumn>
                            </webuijsf:tableRowGroup>
                        </webuijsf:table>
                        <webuijsf:label id="label3" style="position: absolute; left: 336px; top: 144px" text="Otvorený projekt:"/>
                        <webuijsf:staticText binding="#{main.staticText4}" id="staticText4" style="color: #ff0000; left: 456px; top: 144px; position: absolute"/>
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:directive.include file="resources/logo_main_user.jspf"/>
                        </div>
                        <br/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
